﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DriverMockEnvi
{
    [Serializable]
    class EnviDatum
    {
        private int time; // Unix timestamp
        private double power;

        public EnviDatum(int t, double p)
        {
            this.time = t;
            this.power = p;
        }
        public int getTime()
        {
            return this.time;
        }

        public double getPower()
        {
            return this.power;
        }

        public void setTime(int t)
        {
            this.time = t;
        }

        public void setPower(double p)
        {
            this.power = p;
        }
    }


}
